/*
 * @Author: songleiluo 361215740@qq.com
 * @Date: 2024-11-25 23:22:45
 * @LastEditors: songleiluo 361215740@qq.com
 * @LastEditTime: 2024-11-25 23:34:43
 * @FilePath: \demo\src\router\router.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createRouter, createWebHashHistory } from "vue-router";

const routes = [{
    path: '/',
    redirect: '/home'
}, {
    path: '/home',
    component: () => import('../pages/home.vue')
}
]
const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router